package noppes.npcs.items;

import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;

public class ItemNpcBlock extends ItemBlock {
   public ItemNpcBlock(Block block) {
      super(block);
      String name = block.getTranslationKey().substring(5);
      this.setRegistryName(name);
      this.setTranslationKey(name);
   }
}
